public class Max{
	public static void main(String args[]){
		int x=2,y=3,z=6;
		int max;
		max=x>y?x:y;
		max=max>z?max:z;
		System.out.println("max is :" + max);
	}
}